﻿using Taype.Trading.BTC.MtGoxAPIClient;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using Taype.Trading.BTC.MtGoxAPIClient.JSONObjects;

namespace MtGoxAPIClient_test
{
    
    
    /// <summary>
    ///This is b test class for v1Test and is intended
    ///to contain all v1Test Unit Tests
    ///</summary>
    [TestClass()]
    public class v1Test
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in b class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        /// <summary>
        ///A test for v1 Constructor
        ///</summary>
        [TestMethod()]
        public void v1ConstructorTest()
        {
            v1 target = new v1();
            Assert.IsNotNull(target);
        }

        /// <summary>
        ///A test for v1 Constructor
        ///</summary>
        [TestMethod()]
        public void v1ConstructorTest1()
        {
            v1 target = new v1();
            Assert.IsNotNull(target);
        }

        /// <summary>
        ///A test for multiCurrencyTicker
        ///</summary>
        [TestMethod()]
        public void multiCurrencyTickerTest()
        {
            // TODO: Implement a more intelligent test for this invocation
            v1 target = new v1();
            MtGoxCurrencySymbol currency1 = MtGoxCurrencySymbol.BTC;
            MtGoxCurrencySymbol currency2 = MtGoxCurrencySymbol.USD;
            MtGoxMultiCurrencyTickerItem expected = null;
            MtGoxMultiCurrencyTickerItem actual;
            actual = target.multiCurrencyTicker(currency1, currency2);
            Assert.IsNotNull(actual);
        }
    }
}
